import request from '@/utils/request'

// 查询行政申请列表
export function listOaAdministrationApply(query) {
  return request({
    url: '/administrationApply/oaAdministrationApply/list',
    method: 'get',
    params: query
  })
}

// 查询行政申请详细
export function getOaAdministrationApply(id) {
  return request({
    url: '/administrationApply/oaAdministrationApply/' + id,
    method: 'get'
  })
}

// 保存行政申请
export function saveOaAdministrationApply(data) {
  return request({
    url: '/administrationApply/oaAdministrationApply/save',
    method: 'post',
    data: data
  })
}

// 删除行政申请
export function delOaAdministrationApply(id) {
  return request({
    url: '/administrationApply/oaAdministrationApply/' + id,
    method: 'delete'
  })
}

// 导出行政申请
export function exportOaAdministrationApply(query) {
  return request({
    url: '/administrationApply/oaAdministrationApply/export',
    method: 'get',
    params: query
  })
}
